<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>XX后台管理系统</title>
    <link rel="stylesheet" href="../css/layui.css">
</head>
<header th:fragment="header">
    <body class="layui-layout-body">
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header">
                <div class="layui-logo">酒店后台管理系统</div>
                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <img  src="$"  class="layui-nav-img">
                            <!-- 用户加载 -->
                            <span class="type" th:text="${session.admin.adminname}">username</span>
                        </a>
                    </li>
                    <li class="layui-nav-item"><a href="/account/out">退出</a></li>
                </ul>
            </div>

            <div class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                    <ul class="layui-nav layui-nav-tree"  lay-filter="navleft">
                        <li class="layui-nav-item layui-nav-itemed">
                            <a class="" href="javascript:;">客户管理</a>
                            <dl class="layui-nav-child">
                                <dd><a href="/customer/reserveMain">预定管理</a></dd>
                                <dd><a href="/customer/InRoomMain">入住</a></dd>
                                <dd><a href="/customer/changeRoomMain">换房</a></dd>
                                <dd><a href="/customer/exitRoomMain">退房</a></dd>
                            </dl>
                        </li>

                        <li class="layui-nav-item">
                            <a href="http://www.csu.edu.cn/">中南大学</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </body>
</header>
<script src="../js/layui.all.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;
    });
</script>
</html>